﻿//
// Created: 2018/12/15
// Author: chenqiang
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xproject.Framework.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.ZXBuiness
{
    public class  ZXOrderFenRunInfo:IEntity
    {
    
       ///<summary>
       ///
       ///<summary>
       public long OrderFengyunId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public long UserId  { get; set; } 
       ///<summary>
       ///产生分润的产品
       ///<summary>
       public string ProductId  { get; set; } 
       ///<summary>
       ///产生分润的产品名
       ///<summary>
       public string ProductName  { get; set; } 
       ///<summary>
       ///产生分润的订单
       ///<summary>
       public string OrderId  { get; set; } 
       ///<summary>
       ///分润的订单钱
       ///<summary>
       public decimal OrderFenRunMoney  { get; set; } 
       ///<summary>
       ///直接上级的钱
       ///<summary>
       public decimal P1money  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P2money  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P3money  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P4money  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P5money  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P6money  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P7money  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P8money  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P9money  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime CreateTime  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Creator  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Remarks  { get; set; } 
       ///<summary>
       ///与订单状态保持一致，后期规定能提前看到预收益，订单状态待支付的，能看到即将产生的预收益，前期 只取订单为已收货的订单
       ///<summary>
       public int State  { get; set; } 
         
    
       [NotMapped]
        public long Id { get; set; }

        [NotMapped]
        public EntityState EntityState { get; set; }

        public int CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}